package com.hzhr.iot.device.sdk.model.collectDevice1;


import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CollectDevice1Model", description = "采集设备1模型")
public class CollectDevice1Model {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 设备种类代码(show_info=true时展示; 关联: device_service.OptionsModel.code, typeName = 'COLLECT_DEVICE_CATEGORY')", required = true)
    @CygProperty(show = "_show_info", entityProp = "categoryCode")
    private String categoryCode;
    @ApiModelProperty(value = "说明 : 资源代码", required = true)
    @CygProperty(show = "_show_info", entityProp = "resourceCode")
    private String resourceCode;
    @ApiModelProperty(value = "说明 : 安装时间(毫秒级时间戳)")
    @CygProperty(show = "_show_info", entityProp = "installTime")
    private Long installTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getResourceCode() {
        return resourceCode;
    }

    public void setResourceCode(String resourceCode) {
        this.resourceCode = resourceCode;
    }

    public Long getInstallTime() {
        return installTime;
    }

    public void setInstallTime(Long installTime) {
        this.installTime = installTime;
    }
}

